import { Language } from "../../../../extend/language/Language";
import { SDrugCanUseDtMsg } from "../../../../Message/Game/SDrugCanUseDtMsg";
//class ItemCoolDownUtil
    
    export  class ItemCoolDownUtil
    {
        constructor()
        {
            
            if (ItemCoolDownUtil._instance) 
            {
                throw new Error(Language.getString(40055));
            }
            return;
        }

        public updateItemCdByFresh(arg1: SDrugCanUseDtMsg): void
        {
            var loc1=NaN;
            arg1 = arg1;
            if (!arg1.canUseBufferDrugDt) 
            {
            };
            if (!arg1.canUseContinueLifeDrugDt) 
            {
            };
            if (!arg1.canUseContinueManaDrugDt) 
            {
            };
            if (!arg1.canUseExpDrugDt) 
            {
            };
            if (!arg1.canUseImmediatelyLifeDrugDt) 
            {
            };
            if (!arg1.canUseImmediatelyManaDrugDt) 
            {
            };
            if (!arg1.canUseLifeBagDrugDt) 
            {
            };
            if (!arg1.canUseManaBagDrugDt) 
            {
            };
            if (!arg1.canUseMoreExpDrugDt) 
            {
            };
            if (!arg1.canUsePetContinueLifeDrugDt) 
            {
            };
            if (!arg1.canUsePetContinueManaDrugDt) 
            {
            };
            if (!arg1.canUsePetEnergyDrugDt) 
            {
            };
            if (!arg1.canUsePetLifeSpanDrugDt) 
            {
            };
            return;
        }

        public static get instance(): ItemCoolDownUtil
        {
            return ItemCoolDownUtil._instance;
        }

        /* internal */ static /* var */_instance: ItemCoolDownUtil;
    }

            ItemCoolDownUtil._instance = new ItemCoolDownUtil();
        